package com.universally.example.app.const

import androidx.compose.material3.Typography
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp

object BaseTheme {
    val darkColorScheme = darkColorScheme(
        primary = CS.darkPrimary,
        onPrimary = CS.White,
        secondary = CS.darkSecondary,
        onSecondary = CS.White,
        tertiary = CS.darkTertiary,
        onTertiary = CS.White60,
        background = CS.darkBackground,
        surface = CS.darkBackground,
        onSurface = CS.White,
    )

    val lightColorScheme = lightColorScheme(
        primary = CS.lightPrimary,
        onPrimary = CS.Black,
        secondary = CS.lightSecondary,
        onSecondary = CS.Black,
        tertiary = CS.lightTertiary,
        onTertiary = CS.Black60,
        background = CS.lightBackground,
        surface = CS.lightBackground,
        onSurface = CS.Black,
    )

    val typography = Typography(
        bodyLarge = TextStyle(
            fontFamily = FontFamily.Default,
            fontWeight = FontWeight.SemiBold,
            fontSize = 16.sp,
            letterSpacing = 0.5.sp,
        ),
        bodyMedium = TextStyle(
            fontFamily = FontFamily.Default,
            fontWeight = FontWeight.Medium,
            fontSize = 14.sp,
            letterSpacing = 0.5.sp,
        ),
        bodySmall = TextStyle(
            fontFamily = FontFamily.Default,
            fontWeight = FontWeight.Normal,
            fontSize = 12.sp,
            letterSpacing = 0.5.sp,
        ),
    )
}